#ifndef OPACITYMOVEEATER_H
#define OPACITYMOVEEATER_H

#include <QObject>
#include <QWidget>

class OpacityMoveEater : public QObject
{
    Q_OBJECT
public:
    explicit OpacityMoveEater(QWidget *parent, QWidget *target = nullptr);

    void setOpacity(double newOpacity);

private:
    QWidget *m_target;
    double m_opacity;
};

#endif // OPACITYMOVEEATER_H
